<html>
<head><meta charset="utf-8"><title>Persistent caching for vim · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Persistent.20caching.20for.20vim.html">Persistent caching for vim</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="246724073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Persistent%20caching%20for%20vim/near/246724073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mihir Luthra <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Persistent.20caching.20for.20vim.html#246724073">(Jul 21 2021 at 14:04)</a>:</h4>
<p>Hi, I wanted to ask if there is any way to achieve persistent caching for vim/nvim so that indexing doesn't start from scratch every time we reopen a file? I remember seeing a comment quite long ago by <span class="user-mention" data-user-id="133169">@matklad</span>  (can't find it now) saying that RA wants to focus on startup performance and having persistent storage may shift that focus. So persistent store wasn't a priority.<br>
Is there any update on that now? If not is there any workaround to achieve this?</p>



<a name="246727925"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Persistent%20caching%20for%20vim/near/246727925" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Persistent.20caching.20for.20vim.html#246727925">(Jul 21 2021 at 14:32)</a>:</h4>
<p><a href="https://github.com/rust-analyzer/rust-analyzer/issues/1650">https://github.com/rust-analyzer/rust-analyzer/issues/1650</a>, no updates yet. A workaround is to use <code>:e</code> or a file manager plugin.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>